package com.alibaba.algo.domain.user;

import com.alibaba.algo.core.base.BaseDomain;
import com.alibaba.algo.dao.user.SysUserAppMapper;
import com.alibaba.algo.entity.user.SysUserApp;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * 类SysRole.java的实现描述：角色Domain
 *
 * @author nieganggang 2021-03-12 16:08:17
 */
@Component
public class SysUserAppDomain extends BaseDomain<SysUserApp> {

    @Resource
    private SysUserAppMapper sysUserAppMapper;

    public Integer deleteByUserId(Long userId) {
        return sysUserAppMapper.deleteByUserId(userId);
    }

}
